// src\router\index.ts
import { createRouter, createWebHashHistory } from "vue-router"

const router = createRouter({
  //  hash 模式。
  history: createWebHashHistory(),
  routes: [
    // 设置首页
    {
      path: "/login",
      component: () => import("../page/login/index.vue"),
    },
  ],
})

export default router
